<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title></title>
        <script src="../vue.js" type="text/javascript" charset="utf-8"></script>
    </head>
    <body>
        <div id="app">
            <ol>
                <li v-for="todo in todos">
                  {{ todo.text }}
                </li>
            </ol>
        </div>
        <script type="text/javascript">
            var app = new Vue({
                el: '#app',
                data: {
                    todos: [
                        { text: '学习 JavaScript' },
                        { text: '学习 Vue' },
                        { text: '整个牛项目' }
                    ]
                }
            })
        </script>
    </body>
</html>